<?php

define('G_BIN_CHECK_INCLUDE', true);
include 'common.inc.php';

$tpl = Bin::getView("dec-base62.tpl.html");


$tpl->output();

if(!empty($_GET['dec']))
{
	p(Bin::execute('BinCryptClass.decBase62', intval($_GET['dec'])));
}
elseif(!empty($_GET['base62']))
{
	p(Bin::execute('BinCryptClass.base62Dec', $_GET['base62']));
}
